package com.huazhi.wzsnw.service;


import com.huazhi.wzsnw.model.Smoke;

import java.util.List;

public interface SmokeService {
    public List<String> selectSmokeBySearch(String number, String state, String userTid, int degree, String switchTest, String companyTid, String type);

    public  List<Smoke> selectSmokeByTid(List<String> list, Integer pageIndex, Integer pageSize);

    public  void updateByPrimaryKeySelective(Smoke smoke);

    public Smoke getSmokeByTid(String tid);

    public Integer smokeNumberByState(String tid, String state);

    public Integer receiveAlert(String number, String state, String time);

    List<Smoke> getSomke(String tid);

    public Smoke getSmokeByNumber(String number);

    List<Smoke> getSomkelAYindextopCard(String tid);

    public Integer getDeviceCount(String tid, String type);

    public Integer getDeviceStateCount(String tid, String type, String state);
}
